From ea69bf8c17dd5c9e7f76bf3cb4f56ec07b2e821f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Florian=20M=C3=BCllner?= Date: Thu, 14 Jan 2016 14:45:28 +0100 Subject: [PATCH] cssstyleproperty: Expose min-width/height --- gtk/gtkcssstylepropertyimpl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c index 8cb51dda49..b817f16cb6 100644 --- a/gtk/gtkcssstylepropertyimpl.c +++ b/gtk/gtkcssstylepropertyimpl.c @@ -1630,21 +1630,21 @@ _gtk_css_style_property_init_properties (void) gtk_css_style_property_register ("min-width", GTK_CSS_PROPERTY_MIN_WIDTH, - G_TYPE_NONE, + G_TYPE_INT, GTK_STYLE_PROPERTY_ANIMATED, GTK_CSS_AFFECTS_SIZE, minmax_parse, - NULL, - NULL, + query_length_as_int, + assign_length_from_int, _gtk_css_number_value_new (0, GTK_CSS_PX)); gtk_css_style_property_register ("min-height", GTK_CSS_PROPERTY_MIN_HEIGHT, - G_TYPE_NONE, + G_TYPE_INT, GTK_STYLE_PROPERTY_ANIMATED, GTK_CSS_AFFECTS_SIZE, minmax_parse, - NULL, - NULL, + query_length_as_int, + assign_length_from_int, _gtk_css_number_value_new (0, GTK_CSS_PX)); gtk_css_style_property_register ("transition-property", -- 2.30.2